package modelo.dal.dataSourceDal.oracleDal;

import modelo.dal.iDal.IPlanGeneralDao;
import modelo.dominio.PlanGeneral;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;

/**
 *
 * @author Felipe
 */
public class PlanGeneralOracleDao implements IPlanGeneralDao {

    /**
     * 
     */
    public PlanGeneralOracleDao() {
    }

    /**
     *
     * @param planGral
     * @return
     */
    public boolean insertPlanGral(PlanGeneral planGral) {
        return true;
    }

    /**
     *
     * @param planGral
     * @return
     */
    public boolean updatePlanGral(PlanGeneral planGral) {
        return true;
    }

    /**
     *
     * @param planGral
     * @return
     */
    public boolean deletePlanGral(PlanGeneral planGral) {
        return true;
    }

    /**
     *
     * @param planGral
     * @return
     */
    public PlanGeneral getPlanGral(PlanGeneral planGral) {
        return null;
    }

    /**
     *
     * @param planGeneral
     * @return
     */
    @Override
    public List getListaPlanesGrales (PlanGeneral planGeneral) {
        ArrayList lista = new ArrayList<PlanGeneral>();
        for (int i = 0; i < 50;i++) {
            lista.add(new PlanGeneral());
        }
        JOptionPane.showMessageDialog(null, this.getClass().getSimpleName());
        return lista;
    }

}

